# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MindistCalc.ui'
#
# Created: Wed Dec 07 15:18:10 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MindistCalc(object):
    def setupUi(self, MindistCalc):
        MindistCalc.setObjectName(_fromUtf8("MindistCalc"))
        MindistCalc.resize(319, 116)
        MindistCalc.setMinimumSize(QtCore.QSize(291, 116))
        MindistCalc.setMaximumSize(QtCore.QSize(16777215, 116))
        MindistCalc.setWindowTitle(QtGui.QApplication.translate("MindistCalc", "Minimum Distance Calculator", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout = QtGui.QGridLayout(MindistCalc)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.maxVolumeCheck = QtGui.QRadioButton(MindistCalc)
        self.maxVolumeCheck.setText(QtGui.QApplication.translate("MindistCalc", "Max Volume, dB", None, QtGui.QApplication.UnicodeUTF8))
        self.maxVolumeCheck.setObjectName(_fromUtf8("maxVolumeCheck"))
        self.gridLayout.addWidget(self.maxVolumeCheck, 0, 0, 1, 1)
        self.maxVolumeEdit = QtGui.QDoubleSpinBox(MindistCalc)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.maxVolumeEdit.sizePolicy().hasHeightForWidth())
        self.maxVolumeEdit.setSizePolicy(sizePolicy)
        self.maxVolumeEdit.setMinimum(-64.0)
        self.maxVolumeEdit.setMaximum(0.0)
        self.maxVolumeEdit.setObjectName(_fromUtf8("maxVolumeEdit"))
        self.gridLayout.addWidget(self.maxVolumeEdit, 0, 1, 1, 1)
        self.minDistCheck = QtGui.QRadioButton(MindistCalc)
        self.minDistCheck.setText(QtGui.QApplication.translate("MindistCalc", "Minimum Distance, m", None, QtGui.QApplication.UnicodeUTF8))
        self.minDistCheck.setObjectName(_fromUtf8("minDistCheck"))
        self.gridLayout.addWidget(self.minDistCheck, 1, 0, 1, 1)
        self.minDistEdit = QtGui.QDoubleSpinBox(MindistCalc)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.minDistEdit.sizePolicy().hasHeightForWidth())
        self.minDistEdit.setSizePolicy(sizePolicy)
        self.minDistEdit.setMinimum(0.0)
        self.minDistEdit.setMaximum(1000.0)
        self.minDistEdit.setObjectName(_fromUtf8("minDistEdit"))
        self.gridLayout.addWidget(self.minDistEdit, 1, 1, 1, 1)
        self.headVolumeCheck = QtGui.QRadioButton(MindistCalc)
        self.headVolumeCheck.setText(QtGui.QApplication.translate("MindistCalc", "Head Volume, dB", None, QtGui.QApplication.UnicodeUTF8))
        self.headVolumeCheck.setObjectName(_fromUtf8("headVolumeCheck"))
        self.gridLayout.addWidget(self.headVolumeCheck, 2, 0, 1, 1)
        self.headVolumeEdit = QtGui.QDoubleSpinBox(MindistCalc)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.headVolumeEdit.sizePolicy().hasHeightForWidth())
        self.headVolumeEdit.setSizePolicy(sizePolicy)
        self.headVolumeEdit.setMinimum(-64.0)
        self.headVolumeEdit.setMaximum(0.0)
        self.headVolumeEdit.setObjectName(_fromUtf8("headVolumeEdit"))
        self.gridLayout.addWidget(self.headVolumeEdit, 2, 1, 1, 1)
        self.headDistCheck = QtGui.QRadioButton(MindistCalc)
        self.headDistCheck.setText(QtGui.QApplication.translate("MindistCalc", "Head Distance, m", None, QtGui.QApplication.UnicodeUTF8))
        self.headDistCheck.setObjectName(_fromUtf8("headDistCheck"))
        self.gridLayout.addWidget(self.headDistCheck, 3, 0, 1, 1)
        self.headDistEdit = QtGui.QDoubleSpinBox(MindistCalc)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.headDistEdit.sizePolicy().hasHeightForWidth())
        self.headDistEdit.setSizePolicy(sizePolicy)
        self.headDistEdit.setMaximum(10000.0)
        self.headDistEdit.setObjectName(_fromUtf8("headDistEdit"))
        self.gridLayout.addWidget(self.headDistEdit, 3, 1, 1, 1)

        self.retranslateUi(MindistCalc)
        QtCore.QMetaObject.connectSlotsByName(MindistCalc)
        MindistCalc.setTabOrder(self.maxVolumeCheck, self.minDistCheck)
        MindistCalc.setTabOrder(self.minDistCheck, self.headVolumeCheck)
        MindistCalc.setTabOrder(self.headVolumeCheck, self.headDistCheck)
        MindistCalc.setTabOrder(self.headDistCheck, self.maxVolumeEdit)
        MindistCalc.setTabOrder(self.maxVolumeEdit, self.minDistEdit)
        MindistCalc.setTabOrder(self.minDistEdit, self.headVolumeEdit)
        MindistCalc.setTabOrder(self.headVolumeEdit, self.headDistEdit)

    def retranslateUi(self, MindistCalc):
        pass


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MindistCalc = QtGui.QDialog()
    ui = Ui_MindistCalc()
    ui.setupUi(MindistCalc)
    MindistCalc.show()
    sys.exit(app.exec_())

